﻿/*
 *  UI_Frame.h
 *
 *	Date: 2011-4-24
 *  Author: linshenqi
 */
 
#include "./Main.h"
#include "./UI/widget/GUI.h"

IMPLEMENT_APP(MainApp)

bool MainApp::OnInit()
{
	m_pMainFrame = new MainFrame(wxT("UI应用  --基于wxWidgets"), wxSize(800, 600));
	m_pMainFrame->SetMinSize(wxSize(800, 600));
	m_pMainFrame->Centre();
	//m_pMainFrame->Maximize(true);
	//m_pMainFrame->SetTransparent(225);
	m_pMainFrame->Show(true);
	return true;
}
